package afcp.alumni.search;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Specifies that this entity is indexed in the search API only if the annotated
 * field has one of the values specified in this annotation.
 * 
 * @author aorylamballe
 * 
 */
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
@Target(ElementType.FIELD)
public @interface IndexFilter {
	String[] value();
}
